package com.study.entity.system;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Author wfw
 * @Date 2020/07/11 17:06
 */
@Entity
@Table(name = "pe_permission_api")
@Data
public class PermissionApi implements Serializable {

    private static final long serialVersionUID = 2164993107549483722L;
    @Id
    private String id;
    /**
     * 链接
     */
    private String apiUrl;
    /**
     * 请求类型
     */
    private String apiMethod;
    /**
     * 权限等级，1为通用接口权限，2为需校验接口权限
     */
    private String apiLevel;
}
